import {
	getRequest,
	postRequest
} from '@/utils/http.ts'

/**查询客户信息列表*/
export const getCustomersList = () => {
	return getRequest('/wb/app/wbEntAuth/selectClientInfoPage')
}

/**查询某一个客户维保信息*/
export const getCustomersInfo = (data) => {
	return getRequest(`/wb/app/wbContract/getContractInfoByClientId/${data}`)
}

/**下载客户维保信息*/
export const downLoadInfo = (data) => {
	return getRequest(`/wb/app/wbPlan/accomplish?planId=${data}`)
}

/**操作员看驳回记录*/
export const getPlanAuditLog = (data) => {
	return getRequest(`/wb/app/wbPlan/getPlanAuditLog?planId=${data}`)
}


/**工程师看驳回记录*/
export const reviewRecordByUserId = (data) => {
	return getRequest(`/system/auditLog/reviewRecordByUserId`)
}
